package com.huawei.appgallery.search.ui.node;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.LinearLayout;
import com.huawei.appgallery.search.ui.card.HotWordBaseCard;
import com.huawei.appgallery.search.ui.card.HotWordCard;
import o.cuv.b;
import o.cuv.e;

public class HotWordNode extends HotWordBaseNode {
    public HotWordNode(Context context) {
        super(context);
    }

    protected HotWordBaseCard ˏ(Context context) {
        return new HotWordCard(context);
    }

    protected void ˋ(LayoutInflater layoutInflater, View view) {
        if (layoutInflater != null && view != null) {
            ((LinearLayout) view.findViewById(b.ˈ)).addView(layoutInflater.inflate(e.ॱॱ, null), 0);
        }
    }
}
